package com.mytx.live.service;

import com.alibaba.fastjson.JSONObject;
import com.mytx.common.pojo.CommonResult;
import com.mytx.pojo.LiveRoom;
import com.mytx.pojo.Mulct;
import com.mytx.pojo.Reward;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

public interface LiveService {

    CommonResult createLiveRoom(@RequestBody LiveRoom liveRoom);

    CommonResult deleteLiveRoom(@RequestBody Map<String, Object> info);

    CommonResult updateLiveRoom(@RequestBody Map<String, Object> info);

    CommonResult startLive(@RequestBody LiveRoom liveRoom) ;

    CommonResult stopLive(@RequestBody LiveRoom liveRoom) ;

    //赏金、打赏
    CommonResult reward(@RequestBody JSONObject body) ;

    //罚金、踩、
    CommonResult mulct(@RequestBody JSONObject body);

    CommonResult getLiveRoom(@RequestBody Map<String, Object> info);

    CommonResult getChannelUsersInfo(@RequestBody List<String> ids);

    CommonResult queryLiveRoom(@RequestBody String roomId);


    CommonResult createLiveRecord(@RequestBody Map<String, Object> info);

    CommonResult updateLiveRecord(@RequestBody Map<String, Object> info);

    CommonResult getLiveRecord(@RequestBody Map<String, Object> info);


}
